WPPayForm\App\Modules\NumericCalculation\NumericCalculation S

Total Complexity 48
Dependencies 5
Dependents 0
Total lines 215
Lines of code 172
Logical lines of code 114
Comment lines 9
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
processNumericCalculations()
A
45 13 37
calculatePaymentItem()
A
50 8 27
calculateTabularProducts()
S
55 5 18
calculateRecurringPaymnet()
S
58 4 15
calculateSimpleRecurringPayment()
S
58 3 15
replaceInputPlaceholders()
S
61 3 12
evaluateExpression()
S
62 3 11
findMatchingFormDataValue()
S
64 3 9
percentageCalculation()
S
60 2 14
registerCustomFunction()
S
69 2 6
__construct()
S
74 1 4
errorHandler()
S
74 1 4